package com.happyhome.datamodel;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.*;
import com.mysema.query.types.path.*;


/**
 * QNews is a Querydsl query type for News
 */
public class QNews extends EntityPathBase<News> {

    private static final long serialVersionUID = 477392798;

    private static final PathInits INITS = PathInits.DIRECT;

    public static final QNews news = new QNews("news");

    public final StringPath content = createString("content");

    public final NumberPath<Long> idNews = createNumber("idNews", Long.class);

    public final QImage imageThumbnail;

    public final DateTimePath<java.util.Date> makeDate = createDateTime("makeDate", java.util.Date.class);

    public final BooleanPath status = createBoolean("status");
    
    public final BooleanPath isDisplay = createBoolean("isDisplay");
    
    public final StringPath titleNews = createString("titleNews");

    public QNews(String variable) {
        this(News.class, forVariable(variable), INITS);
    }

    public QNews(PathMetadata<?> metadata) {
        this(metadata, metadata.isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QNews(PathMetadata<?> metadata, PathInits inits) {
        this(News.class, metadata, inits);
    }

    public QNews(Class<? extends News> type, PathMetadata<?> metadata, PathInits inits) {
        super(type, metadata, inits);
        this.imageThumbnail = inits.isInitialized("imageThumbnail") ? new QImage(forProperty("imageThumbnail"), inits.get("imageThumbnail")) : null;
    }

}

